package com.frame.hibernate;

import org.hibernate.Session;
import org.hibernate.SessionFactory;

/**
 * @Title: 系统
 * @Description:
 * @Copyright: Copyright (c) 2015
 * @Company:
 * @author 王海锋
 * @CreatedTime:2015-6-25 下午03:51:49
 * @version 1.0
 */

public class HibernateConfig {

    private SessionFactory sessionFactory;
    private ThreadLocal<Session> threadLocal;
    private String dataBaseType;

    public SessionFactory getSessionFactory() {
        return sessionFactory;
    }
    public void setSessionFactory(SessionFactory sessionFactory) {
        this.sessionFactory = sessionFactory;
    }
    public ThreadLocal<Session> getThreadLocal() {
        return threadLocal;
    }
    public void setThreadLocal(ThreadLocal<Session> threadLocal) {
        this.threadLocal = threadLocal;
    }
    public String getDataBaseType() {
        return dataBaseType;
    }
    public void setDataBaseType(String dataBaseType) {
        this.dataBaseType = dataBaseType;
    }

}
